const mongoose = require("../../db/db");

/**
 * @description 产品-规格配置关联表
 */
const Schema = mongoose.Schema({

    //产品id
    productId: {
        type: String,
        require: true
    },
    //specContent
    seoTitle: {
        type: String,
    },
    seoDescription: {
        type: String,
    },
    seoKeyWords: {
        type: String,
    },
    seoUrl: {
        type: String,
    },
    takeDown: {

    },
    snapshot: {

    },
}, {
    versionKey: false,
    timestamps: {
        createdAt: 'createDate',
        updatedAt: 'updateDate'
    }
})
const product_seo_linkMdel = mongoose.model("product_seo_link", Schema);
module.exports = product_seo_linkMdel;